package com.oms.domain;

import java.sql.Timestamp;

/**
 * Acknowledgement entity. @author MyEclipse Persistence Tools
 */

public class Acknowledgement implements java.io.Serializable {


	/**
	 * 
	 */
	private static final long serialVersionUID = 4394465832676550446L;
	
	// Fields
	private Integer acknowledgementId;
	private User user;
	private Message message;
	private Boolean isRead;
	private Timestamp readTime;
	private Timestamp lastUpdateTime;
	private Boolean deleteTag;
	private String expandBar1;
	private String expandBar2;

	// Constructors

	/** default constructor */
	public Acknowledgement() {
	}

	public Acknowledgement(User user, Message message, Boolean isRead,
			Timestamp lastUpdateTime, Boolean deleteTag) {
		super();
		this.user = user;
		this.message = message;
		this.isRead = isRead;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
	}
	
	/** minimal constructor */
	public Acknowledgement(User user, Message message, Boolean isRead,
			Boolean deleteTag) {
		this.user = user;
		this.message = message;
		this.isRead = isRead;
		this.deleteTag = deleteTag;
	}

	/** full constructor */
	public Acknowledgement(User user, Message message, Boolean isRead,
			Timestamp readTime, Timestamp lastUpdateTime, Boolean deleteTag,
			String expandBar1, String expandBar2) {
		this.user = user;
		this.message = message;
		this.isRead = isRead;
		this.readTime = readTime;
		this.lastUpdateTime = lastUpdateTime;
		this.deleteTag = deleteTag;
		this.expandBar1 = expandBar1;
		this.expandBar2 = expandBar2;
	}

	// Property accessors

	public Integer getAcknowledgementId() {
		return this.acknowledgementId;
	}

	public void setAcknowledgementId(Integer acknowledgementId) {
		this.acknowledgementId = acknowledgementId;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Message getMessage() {
		return this.message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	public Boolean getIsRead() {
		return this.isRead;
	}

	public void setIsRead(Boolean isRead) {
		this.isRead = isRead;
	}

	public Timestamp getReadTime() {
		return this.readTime;
	}

	public void setReadTime(Timestamp readTime) {
		this.readTime = readTime;
	}

	public Timestamp getLastUpdateTime() {
		return this.lastUpdateTime;
	}

	public void setLastUpdateTime(Timestamp lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}

	public Boolean getDeleteTag() {
		return this.deleteTag;
	}

	public void setDeleteTag(Boolean deleteTag) {
		this.deleteTag = deleteTag;
	}

	public String getExpandBar1() {
		return this.expandBar1;
	}

	public void setExpandBar1(String expandBar1) {
		this.expandBar1 = expandBar1;
	}

	public String getExpandBar2() {
		return this.expandBar2;
	}

	public void setExpandBar2(String expandBar2) {
		this.expandBar2 = expandBar2;
	}

}